import { IFeidaoAiMobile } from '@dfeidao/atom-mobile/interfaces';
import nav from '@dfeidao/atom-mobile/nav/replace';
import storage_get from '@dfeidao/atom-mobile/storage/get';
import SplashScreen from 'react-native-splash-screen';

export default async function a002(fd: IFeidaoAiMobile) {
	const skip = await storage_get('skip');
	if (skip === 'true') {
		nav(fd, 'app_home', {});
	}
	setTimeout(() => {
		SplashScreen.hide();
	}, 2000);
}
